General Linux Chat and Small Questions v. I broke my Arch Install
6,886 replies, posted
If you have a ClientRegistry.blob file, delete it.
Check ~/Steam or whatever the new directory is (~/.local/share/Steam I think)
[QUOTE=lavacano;40599367]If you have a ClientRegistry.blob file, delete it.
Check ~/Steam or whatever the new directory is (~/.local/share/Steam I think)[/QUOTE]
Aaand, fixed.
Thanks!
[QUOTE=PredGD;40599340]Tried to install Steam on my laptop today, which is obviously on linux.
One error, google search, alright need jockey-common.
Downloaded jockey-common, woohoo, steam installed.
However, when steam starts it says:
FATAL ERROR: Steam needs to be online to update. Please confirm your network connection and try again.
I have internet, what to do?[/QUOTE]
Did you try multiple times? Sometimes steam just fails to make a connection.
[editline]11th May 2013[/editline]
2slow
Another newbie question!
I'm trying to update my nvidia drivers. Find driver. download .run file, open terminal, chmod +x nivida.run, sudo ./nvidia.run
Then this happens.
[code]
ERROR: You appear to be running an X server; please exit X before
installing. For further details, please see the section INSTALLING
THE NVIDIA DRIVER in the README available on the Linux driver
download page at www.nvidia.com.[/code]
[QUOTE=PredGD;40599441]Another newbie question!
I'm trying to update my nvidia drivers. Find driver. download .run file, open terminal, chmod +x nivida.run, sudo ./nvidia.run
Then this happens.
[code]
ERROR: You appear to be running an X server; please exit X before
installing. For further details, please see the section INSTALLING
THE NVIDIA DRIVER in the README available on the Linux driver
download page at www.nvidia.com.[/code][/QUOTE]
Sounds like you need to kill the X server then...
[QUOTE=lavacano;40599309]Yeah, like five minutes before making that post. I checked bin and tf/bin afterward, not there.[/QUOTE]
Do you have any other source games that aren't Left 4 Dead? They should have a filesystem_steam.so file.
[QUOTE=Rayjingstorm;40599559]Sounds like you need to kill the X server then...[/QUOTE]
How would I do that? sudo init 3, sudo killall /usr/bin/X, sudo service gdm stop? None of those have worked for me.
If you're running a distro like Linux Mint or Ubuntu you can install the latest drivers by doing:
[code]
sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current
[/code]
rather than using the nvidia installer.
[code]apt-add-repository ppa:ubuntu-x-swat/updates
Traceback (most recent call last):
File "/usr/bin/apt-add-repository", line 125, in <module>
ppa_info = get_ppa_info_from_lp(user, ppa_name)
File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 80, in get_ppa_info_from_lp
curl.perform()
pycurl.error: (60, 'server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none')
[/code]
[editline]11th May 2013[/editline]
I've done the sudo -i command, so it's running with sudo access.
[editline]11th May 2013[/editline]
Whoops, forgot a letter when I did it the second time (pasted above). Still doesn't work when using the correct line though.
[QUOTE=PredGD;40599634][code]apt-add-repository ppa:ubuntu-x-swat/updates
Traceback (most recent call last):
File "/usr/bin/apt-add-repository", line 125, in <module>
ppa_info = get_ppa_info_from_lp(user, ppa_name)
File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 80, in get_ppa_info_from_lp
curl.perform()
pycurl.error: (60, 'server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none')
[/code]
[editline]11th May 2013[/editline]
I've done the sudo -i command, so it's running with sudo access.
[editline]11th May 2013[/editline]
Whoops, forgot a letter when I did it the second time (pasted above). Still doesn't work when using the correct line though.[/QUOTE]
You probably have corrupted or otherwise invalid certs (I don't actually use Ubuntu often enough to understand what this means)
Try to refresh them:
[code]sudo apt-get --reinstall ca-certificates
sudo update-ca-certificates
[/code]
and if this doesn't work, and you understand that this may or may not cause additional problems, try this:
[code]
rm -rf /usr/share/ca-certificates
[/code]
and [i]then[/i] retry the other two commands above.
[editline]10th May 2013[/editline]
([URL="http://ubuntuforums.org/showthread.php?t=2010993"]source[/URL])
Thanks for the help Rayjingstorm, but it won't be neccesary after all. While waiting for a reply, I managed to fix it myself.
CTRL+ALT+F1
sudo -i
enter password
service lighdm stop
cd /home/name/Downloads
chmod +x nvidia.run
./nvidia.run
install some shit here and there, bam, new drivers!
Trying the svn gmod, and get this error (Linux Mint 13):
Failed to load the launcher [bin/launcher.so] (libSDL2-2.0.so.0: cannot open shared object file: No such file or directory)
[QUOTE=d10sfan;40601973]Trying the svn gmod, and get this error (Linux Mint 13):
Failed to load the launcher [bin/launcher.so] (libSDL2-2.0.so.0: cannot open shared object file: No such file or directory)[/QUOTE]
Run it with '-steam'.
[QUOTE=Jookia;40601994]Run it with '-steam'.[/QUOTE]
What's the command you're using to run gmod?
Thanks
[QUOTE=d10sfan;40602007]What's the command you're using to run gmod?
Thanks[/QUOTE]
./hl2.sh -game garrysmod -steam
You also need to chmod hl2_linux and hl2.sh to be executable, (I think Steam may work around this, I don't know)
Ok just tried that, got the same:
~/.local/share/Steam/SteamApps/sourcemods/gmod $ ./hl2.sh -game garrysmod -steam
Failed to load the launcher [bin/launcher.so] (libSDL2-2.0.so.0: cannot open shared object file: No such file or directory)
Copy TF2's libSDL2-2.0.so.0 to the bin folder.
So is TF2 the only game needed (and launched atleast once) in order to try out (loose term) the gmod SVN?
Ok getting closer now. I copied the filesystem_steam.so file from CSS, copied awesomium around, and copied portal's hl2 directory into gmod.
Now I'm getting a segmentation fault:
./hl2.sh: line 67: 8611 Segmentation fault (core dumped) ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
How do you people launch gmod? I've come as far as downloading the svn and moving it to ~/.local/share/Steam/SteamApps/sourcemods. Should it show up in steam or something? I don't really get it.
[QUOTE=PredGD;40605216]How do you people launch gmod? I've come as far as downloading the svn and moving it to ~/.local/share/Steam/SteamApps/sourcemods. Should it show up in steam or something? I don't really get it.[/QUOTE]
I've been launching it via command line. Basically go into your steam directory, then SteamApps/sourcemods/gmod. You may need to set permissions on some of the files
Then execute this:
./hl2.sh -game garrysmod -steam
[QUOTE=d10sfan;40605212]Ok getting closer now. I copied the filesystem_steam.so file from CSS, copied awesomium around, and copied portal's hl2 directory into gmod.
Now I'm getting a segmentation fault:
./hl2.sh: line 67: 8611 Segmentation fault (core dumped) ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"[/QUOTE]
Pop open gmod's hl2.sh in a paintext editor and check what there is on line 67 from the top-down
[QUOTE=Van-man;40605334]Pop open gmod's hl2.sh in a paintext editor and check what there is on line 67 from the top-down[/QUOTE]
Line 67 down is:
[code]done
exit $STATUS[/code]
[QUOTE=d10sfan;40605333]I've been launching it via command line. Basically go into your steam directory, then SteamApps/sourcemods/gmod. You may need to set permissions on some of the files
Then execute this:
./hl2.sh -game garrysmod -steam[/QUOTE]
I never figured out how to enter the .local folder without the terminal. How do I open it with the file browser?
[QUOTE=PredGD;40605504]I never figured out how to enter the .local folder without the terminal. How do I open it with the file browser?[/QUOTE]
It depends on what file maanger you're using, there should be a Go, Location you can use
You need to show hidden files. Should be in the menu somewhere.
[QUOTE=IpHa;40605532]You need to show hidden files. Should be in the menu somewhere.[/QUOTE]
It's already set to view hidden. No idea why it doesn't show me .local.
Using the Go function worked, though!
[editline]11th May 2013[/editline]
[code]./hl2.sh -game garrysmod -steam
bash: ./hl2.sh: Permission denied[/code]
When using sudo,
[code]sudo ./hl2.sh -game garrysmod -steam
[sudo] password for me:
sudo: ./hl2.sh: command not found[/code]
When trying to edit hl2.sh's permissions, everything grayed out since I apparently don't have access.
[QUOTE=PredGD;40605564]When trying to edit hl2.sh's permissions, everything grayed out since I apparently don't have access.[/QUOTE]
Open your favorite file manager as root
Check file permissions with ls -la, check if your user correctly owns the file, if not, use sudo chown, and check that it's executable, chmod +x, and check that the other executable files are executable too.
Try executing with sudo with a specific path and not just ./hl2.sh
I really want a modified version of ls which uses a special error message when you try using the -hal flags when you don't have permission to read the folder, something like
[code]
I can't let you see that, $USER.
[/code]
Sorry, you need to Log In to post a reply to this thread.