Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I've a machine with gnome & ubuntu maverick. Desktop sharing enabled. I want to know who as connected (the sharing is password protected)
Where are stored the logs of vino server, if they are any?
Thanks in advance!
Actually, you can get logs with vino.
Write a shell script for execute vino-server, redirecting it's output to a file. Something like this:
#!/bin/bash
/usr/lib/vino/vino-server --sm-disable 2>&1 | tee -a ~/.local/share/vino/log
Now, go to gnome menu bar "System -> Preferences -> Startup applications", uncheck "Remote Desktop" and add a new one. Give it a name, like "Remote Desktop w/Log" and select the shell script with the "Browse" button. Save it and log out.
The next time you log in you should have something in ~/.local/share/vino/log
I used this in Debian 6.0 Squeeze with GNOME 2.30
dpkg -L vino doesn't show anything created in /var/log so i guess there are no logs.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I've just installed Arch Linux and installed the gnome package (Note: Not gnome-extra)
I open Gnome using the xinit gnome-session command, as I have already installed X Window.
When I run that command, Gnome opens up and I'm presented with a white terminal titled "login". However, nothing I do in this terminal actually does anything. No commands work, nothing.
Could someone help me figure out what I'm doing wrong? There have been a few questions around similar to this, however none that have been properly answered.
Thank you!
After installing gnome session you need to append
exec gnome-sssion
at the end of your .xinitrc file located at your home.
when you get the login: prompt enter your username and then your password.
Once you're logged in type startx to start gnome session
Solved! I hadn't set Gnome to startup automatically, so when you login to Arch Linux using your standard root login. Check that gnome is installed and works (Use: xinit gnome-session).
Create an account by going to Settings, Users, Create the account as Administrator. Logout of Gnome Log back in as root to your Arch Linux CLI Use the command: systemctl enable gdm The next time you reboot, you should be presented with the Gnome Login screen.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
In one of my linux box, some program (database archiver process) has consumed all the space available. I am not able to access this box using ssh username# so that I can login to box and do the clean up and fix the rouge process. Could you please let me know how we can connect this box in such scenario.
If it is local machine, unattachment the hard drive and then connect it with another PC then manually remove extra files there.
You will have to login as root.
If you have physical access to the machine, boot a live version of your linux from CD/DVD/USB. From there you can get a root shell, mount the drive, and clean it up.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am trying to get 2 monitors setup.
I have Radeon HD 4800, using the open-source driver. 64bit.
When i change the monitor settings in KDE it changes, but when i reboot: the monitors is going back to duplicated (screen settings have not been saved).
This is the settings i want:
How can i make the system automaticly use these settings at boot?
I solved it. Made a script 1920x2.sh in /etc/X11.
xrandr --output DVI-0 --auto --output DVI-1 --auto --right-of DVI-0
Added this script to Alt + F2: Autostart.
Maybe not the best solution, but i works.
To try to troubleshoot this, launch KDE from the Linux console and check its error output. Also check the Xorg log (usually found on /var/log/xorg.0.log). You may need to generate a config file manually. You could also try running display settings as root.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
I need to write an install script that runs an executable/script on login (not startup) in Linux. This needs to work for all current users who can log into the system and users created in the future as well. Is there a way to do this?
In windows this can be achieved by putting a shortcut in the startup folder for "All Users". Is there a similar location/init script in Linux? If not, are there any alternatives?
Thanks in Advance!
The users ~/.bash_profile or ~/.profile depending on shell is executed at login. You can add to that. If you want it for every user, you could put it in /etc/profile.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
Just like a "net send" on Windows, if I remember what net send does correctly. I just want to say something like:
<command> <IP address> "Hey what's up?"
and the message "Hey what's up?" should show up on the other guy's machine. Ideally this shouldn't require installation of any packages not already present in typical UNIX/Linux distributions.
Any ideas?
Thanks!
Look up "talk," "ntalk" and "ytalk." Those are the closest. Fortunately, most Unix machines have no such daemon running by default, and even Windows had the sensibility to disable this service by default after they realized how annoying it is.
smbclient -M destination-host -U my-host -n my-host
more info here: http://www.yolinux.com/TUTORIALS/unix_for_dos_users.html
hope it helps
also, try the "talk" command. (talkd is worth looking into too)
given your strict requirements (default install etc) this comes closest:
DISPLAY=otherip:0.0 xterm -e "/bin/echo \"Hey what's up?\"; /bin/sleep 9999"
Unix was multiuser from the start, so you'd have to specify which user on the target machine you want to message. Then the command would once have been rwrite, but it's all but disappeared. talk (or ytalk, ntalk, etalk) would let the other person reply, but these days instant messaging goes via a centrally managed identity (AIM, Jabber, Skype, etc.) rather than on a machine-to-machine basis.